<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>ejs</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

</head>
<body>
<div class="panel panel-default">
    <!-- Default panel contents -->
    <div class="panel-heading">
        hello <% =username%>
    </div>
    <div class="panel-body">
    </div>


    <table class="table">
    <%for(let i =0;i<animal.length;i++){%>
        <tr>
            <td><%=animal[i].name%></td>
            <td><%=animal[i].age%></td>
        </tr>
    </table>
    <%}%>
</div>

</body>
</html>